<%@page import="com.mongodb.DBCursor"%>
<%@page import="com.mongodb.DBObject"%>
<%
DBObject object = (DBObject) request.getAttribute("object");
out.print(object.get("log")+"<br/>");
DBCursor cursor = (DBCursor) request.getAttribute("cursor");
while(cursor.hasNext())
{
	DBObject dbObject = cursor.next(); 
	out.print(dbObject.get("link")+"|"+dbObject.get("username")+"|"+dbObject.get("blogurl")+"<br/>");
}

out.print("<br/><hr/><br/>");
DBObject object2 = (DBObject) request.getAttribute("object2");
DBCursor cursor1 = (DBCursor) request.getAttribute("cursor1");
out.print(object2+"<br/>");
while(cursor1.hasNext())
{
	DBObject dbObject = cursor1.next(); 
	out.print(dbObject.get("link")+"|"+dbObject.get("username")+"|"+dbObject.get("blogurl")+"<br/>");
}
%>
